home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 9
/
FM Towns Free Software Collection 9.iso
/
fb386
/
game
/
takara2
/
tre2.bas
< prev
next >
Wrap
BASIC Source File
|
1994-11-16
|
37KB
|
625 lines
1000 '***** FM TOWNS用ゲーム集 Vol.2 *****
1010 '***** パズルゲーム 「宝の塔][」 *****
1020 '***** PROGRAMED BY H2SO4 *****
1030 'Version 2.01
1040 SCREEN@ 0:CONSOLE 0,25,0:CLS:CLEAR ,,512,32768:RESTORE
1050 DIM HE1%(255),HE2%(255),HE3%(255),HE4%(255),ST%(255),WA%(255)
1060 DIM TR%(255),DR%(255),KE%(255),S(14,11)
1070 DIM M1%(255),M2%(255),M3%(255),M4%(255)
1080 FOR I=0 TO 255:READ HE1%(I):NEXT:FOR I=0 TO 255:READ HE2%(I):NEXT
1090 FOR I=0 TO 255:READ HE3%(I):NEXT:FOR I=0 TO 255:READ HE4%(I):NEXT
1100 FOR I=0 TO 255:READ ST%(I):NEXT
1110 FOR I=0 TO 255:READ TR%(I):NEXT
1120 FOR I=0 TO 255:READ DR%(I):NEXT
1130 FOR I=0 TO 255:READ WA%(I):NEXT
1140 FOR I=0 TO 255:READ KE%(I):NEXT
1150 FOR I=0 TO 255:READ M1%(I):NEXT
1160 FOR I=0 TO 255:READ M2%(I):NEXT
1170 FOR I=0 TO 255:READ M3%(I):NEXT
1180 FOR I=0 TO 255:READ M4%(I):NEXT
1190 GOTO 5510
1200 'MITTYAN 前
1210 DATA 0, 0, 0,-26224, 2457, 0, 0, 0
1220 DATA 0, 0,-26368,-26215,-26215, 153, 0, 0
1230 DATA 0, 0,-26215,-26215,-26215,-26215, 0, 0
1240 DATA 0, 0,-26215, -5735,-26215,-26215, 0, 0
1250 DATA 0,-28672,-26215, -5735,-26215,-26215, 9, 0
1260 DATA 0,-28672,-26215, -5735,-26210,-26215, 9, 0
1270 DATA 0,-28672, -5735, -4370, -4370,-26210, 9, 0
1280 DATA 0,-28672, 3737, -4608, 238,-26144, 9, 0
1290 DATA 0,-28672, 3742, -7937, -242, -5664, 9, 0
1300 DATA 0,-28672, -354, -4455,-26130, -5649, 9, 0
1310 DATA 0,-28672, -354, -4455,-26130, -5649, 9, 0
1320 DATA 0,-28672, -359, -4455,-26130,-26129, 9, 0
1330 DATA 0,-28672, -4455, 3822, -4384,-26130, 9, 0
1340 DATA 0,-28672, -5735, -4370, -4370,-26210, 9, 0
1350 DATA 0,-28672, -5735,-21778, -4438,-26210, 9, 0
1360 DATA 0,-28672,-26215, -4370, -4370,-26215, 9, 0
1370 DATA 0, 0,-26215, -4599,-28434,-26215, 0, 0
1380 DATA 0, 0,-26368, 9,-28672, 153, 0, 0
1390 DATA 0, 0, 0, 221, -8960, 0, 0, 0
1400 DATA 0, 0, -8752, -8739, -8739, 3549, 0, 0
1410 DATA 0, 0, -8739, -8739, -8739, -8739, 0, 0
1420 DATA 0,-12288, 3549, -8739, -8739, -8752, 13, 0
1430 DATA 0,-12288, 221, -8752, 3549, -8960, 13, 0
1440 DATA 0, -4384, 14,-25942,-21847, -8192, 3822, 0
1450 DATA 0, -4384,-24562,-21846,-21846, -8182, 3822, 0
1460 DATA 0, -4384,-24576,-21846,-21846, 10, 3822, 0
1470 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
1480 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
1490 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
1500 DATA 0, 0,-16384, 204,-13312, 12, 0, 0
1510 DATA 0, 0, -80, 3003,-17488, 3071, 0, 0
1520 DATA 0, 0,-17488, 3003,-17488, 3003, 0, 0
1530 '後ろ
1540 DATA 0, 0, 0,-26224, 2457, 0, 0, 0
1550 DATA 0, 0,-26368,-26215,-26215, 153, 0, 0
1560 DATA 0, 0,-26215,-26215, -103,-26215, 0, 0
1570 DATA 0, 0,-26215,-26215,-26215,-26209, 0, 0
1580 DATA 0,-28672,-26215,-26215,-26215,-26119, 9, 0
1590 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1600 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1610 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1620 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1630 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1640 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1650 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1660 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1670 DATA 0,-28672,-26215,-26215,-26215,-26215, 9, 0
1680 DATA 0,-24864,-26215,-26215,-26215,-26215, 3817, 0
1690 DATA 0,-24850,-26215,-26215,-26215,-26215, -4375, 0
1700 DATA 0, 3822,-26215,-26215,-26215,-26215, -4384, 0
1710 DATA 0, -8736,-26368,-26215,-26215, 153, 3805, 0
1720 DATA 0, -8960, 13,-26215,-26215,-12288, 221, 0
1730 DATA 0,-12288, -8739, -8739, -8739, -8739, 13, 0
1740 DATA 0, 0, -8739, -8739, -8739, -8739, 0, 0
1750 DATA 0, 0,-12288, -8739, -8739, 13, 0, 0
1760 DATA 0, 0, 0, -8752, 3549, 0, 0, 0
1770 DATA 0, 0, 0,-21846,-21846, 0, 0, 0
1780 DATA 0, 0,-24576,-21846,-21846, 10, 0, 0
1790 DATA 0, 0,-24576,-21846,-21846, 10, 0, 0
1800 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
1810 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
1820 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
1830 DATA 0, 0,-16384, 204,-13312, 12, 0, 0
1840 DATA 0, 0,-17488, 3003,-17488, 3003, 0, 0
1850 DATA 0, 0,-17488, 4091,-16400, 3003, 0, 0
1860 '右
1870 DATA 0, 0, 0,-26224, 2457, 0, 0, 0
1880 DATA 0, 0,-28672,-24679,-26215, 153, 0, 0
1890 DATA 0, 0,-26368,-26113,-26215,-26215, 0, 0
1900 DATA 0, 0, -1648,-26215,-26215,-26215, 0, 0
1910 DATA 0, 0,-26224,-26215,-26215,-26215, 9, 0
1920 DATA 0, 0,-26215,-26215,-26215,-26215, 9, 0
1930 DATA 0, 0,-26215,-26215,-26215,-24850, 9, 0
1940 DATA 0, 0,-26215,-26215, -4455, 3584, 0, 0
1950 DATA 0,-28672,-26215,-26215, 3817, 3839, 0, 0
1960 DATA 0,-28672,-26215, -4455, -4375, 3743, 0, 0
1970 DATA 0,-28672,-26215, -4455, -4375, 3743, 0, 0
1980 DATA 0,-28672,-26215, -5735, -4375, -4449, 0, 0
1990 DATA 0,-28672,-26215,-26215, -4375, 3822, 0, 0
2000 DATA 0,-28672,-26215,-26215, -4375, 3822, 0, 0
2010 DATA 0,-28672,-26215,-26215, -4455, 2798, 0, 0
2020 DATA 0,-28672,-26215,-26215, -4455, 3822, 0, 0
2030 DATA 0, 0,-26215,-26215, -4455, 3822, 0, 0
2040 DATA 0, 0,-26368,-26215, 3737, 0, 0, 0
2050 DATA 0, 0, 0,-26215, 3737, 0, 0, 14
2060 DATA 0, 0, 0, -8739, -8739, 13, -8192, 238
2070 DATA 0, 0, 0, -8739, -8739, 221, -8192, 238
2080 DATA 0, 0, 0, -8739, -8739, -8739, -4387, 238
2090 DATA 0, 0, 0, -8752, 3549, -8739, -4387, 14
2100 DATA 0, 0, 0,-21846,-21846, -8960, 221, 0
2110 DATA 0, 0,-24576,-21846,-21846, 10, 0, 0
2120 DATA 0, 0,-24576,-21846,-21846, 10, 0, 0
2130 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
2140 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
2150 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
2160 DATA 0, 0, 0, 3276,-13120, 0, 0, 0
2170 DATA 0, 0,-20480,-17477,-17477, 255, 0, 0
2180 DATA 0, 0, -4096,-17473,-17409, 187, 0, 0
2190 '左
2200 DATA 0, 0, 0,-26224, 2457, 0, 0, 0
2210 DATA 0, 0,-26368,-26215,-26119, 9, 0, 0
2220 DATA 0, 0,-26215,-26215, -103, 153, 0, 0
2230 DATA 0, 0,-26215,-26215,-26215, 2463, 0, 0
2240 DATA 0,-28672,-26215,-26215,-26215, 2457, 0, 0
2250 DATA 0,-28672,-26215,-26215,-26215,-26215, 0, 0
2260 DATA 0,-28672, -4375,-26215,-26215,-26215, 0, 0
2270 DATA 0, 0, 224,-26130,-26215,-26215, 0, 0
2280 DATA 0, 0, -32,-24864,-26215,-26215, 9, 0
2290 DATA 0, 0, -1568,-24850,-26130,-26215, 9, 0
2300 DATA 0, 0, -1568,-24850,-26130,-26215, 9, 0
2310 DATA 0, 0, -1554,-24850,-26210,-26215, 9, 0
2320 DATA 0, 0, -4384,-24850,-26215,-26215, 9, 0
2330 DATA 0, 0, -4384,-24850,-26215,-26215, 9, 0
2340 DATA 0, 0, -4448,-26130,-26215,-26215, 9, 0
2350 DATA 0, 0, -4384,-26130,-26215,-26215, 9, 0
2360 DATA 0, 0, -4384,-26130,-26215,-26215, 0, 0
2370 DATA 0, 0, 0,-26144,-26215, 153, 0, 0
2380 DATA -8192, 0, 0,-26144,-26215, 0, 0, 0
2390 DATA -4608, 14,-12288, -8739, -8739, 0, 0, 0
2400 DATA -4608, 14, -8960, -8739, -8739, 0, 0, 0
2410 DATA -4608, -8722, -8739, -8739, -8739, 0, 0, 0
2420 DATA -8192, -8722, -8739, -8752, 3549, 0, 0, 0
2430 DATA 0, -8960, 221,-21846,-21846, 0, 0, 0
2440 DATA 0, 0,-24576,-21846,-21846, 10, 0, 0
2450 DATA 0, 0,-24576,-21846,-21846, 10, 0, 0
2460 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
2470 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
2480 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
2490 DATA 0, 0, 0, 3276,-13120, 0, 0, 0
2500 DATA 0, 0, -256,-17477,-17477, 11, 0, 0
2510 DATA 0, 0,-17664, -69, -1093, 15, 0, 0
2520 'STONE
2530 DATA 0, 0, 0, 0, 0, 0, 0, 0
2540 DATA 0, 0, 0, -16, -1, 13, 0, 0
2550 DATA 0, 0, -16, -513, -515, 3549, 0, 0
2560 DATA 0, -4096, -8193, -8225, -8225, -8739, 13, 0
2570 DATA 0, -256, -515, -8739, -8739, -8739, 221, 0
2580 DATA 0, -8208, -8737, -8737, -8739,-12835, 3549, 0
2590 DATA 0, -513, -8707, -8739, -8739, -8739, 3548, 0
2600 DATA 0, -8225,-12833, -8995, -8739,-12835, -8755, 0
2610 DATA -4096, -513, -8755, -8739, -8739, -8739, -8995, 0
2620 DATA -4096, -8225, -8995, -8995, -8739, -8739, -8755, 13
2630 DATA -256, -8707, -8740, -515, -8739, -8739, -8996, 13
2640 DATA -8448, -8737, -8739, -8225, -8737, -8739,-12851, 221
2650 DATA -256, -8739, -548,-12803, -8739, -8739, -8995, 221
2660 DATA -8448, -8995, -8739, -8996, -8739, -8739,-12835, 221
2670 DATA -528, -8739,-12321, -8755, -8755, -8739, -8995, 3548
2680 DATA -8208, -8755, -8708, -8996, -8740, -8739,-12851, 3549
2690 DATA -8720, -8739,-12849, -8755, -8739, -8739, -8995, 3549
2700 DATA -8240, -548, -8964,-12836, -8995, -8739, -8739, 2524
2710 DATA -8720, -8755,-12849, -8739, -8740, -8739, -8739, 3549
2720 DATA -8752, -547, -8996, -8996, -8995, -8739,-12835, 2525
2730 DATA -8720, -8739,-12849,-12851,-12835, -8739, -8739, 3485
2740 DATA -8752, -8227, -8996, -8739, -8995, -9764, -8739, 2525
2750 DATA -8752, -547,-12851, -8995,-12835, -8803, -8739, 3485
2760 DATA -8752, -8227, -8993, -8755, -8995, -9764, -8739, 217
2770 DATA -8752, -547, -8755, -8740, -8739, -8803, -8739, 157
2780 DATA -8960, -8739, -8739, -8739, -8739, -9767, -8739, 9
2790 DATA -8960, -8739, -8739, -9763, -8739, -8803,-25187, 13
2800 DATA -12288, -8739, -8739, -8803, -8739, -9767, -9763, 0
2810 DATA 0, -8752, -8739, -9763,-25123,-25187, 3485, 0
2820 DATA 0, -8960, -8743,-25187, -8803, -9767, 0, 0
2830 DATA 0, 0, -9763, -9767, -9767, 0, 0, 0
2840 DATA 0, 0, 0, 0, 0, 0, 0, 0
2850 'TREASURE
2860 DATA 0, 0, 0, 0, 0, 0, 0, 0
2870 DATA 0, 0, 0, 0, 0, 0, 0, 0
2880 DATA 0, 0, 0, 0, 0, 0, 0, 0
2890 DATA 0, -8192, -4370, -4370, -4370, -4370, 14, 0
2900 DATA 0, -4384, 14, 0, 0, -8192, 3822, 0
2910 DATA 0, 238,-22016,-21846,-21846,-21846, -4608, 0
2920 DATA -8192,-24562,-21846,-21846,-21846,-21846, -5462, 14
2930 DATA -4608,-21856,-21846,-21846,-21846,-21846,-21846, 238
2940 DATA 3808,-21856,-21846,-21846,-21846,-21846,-21846, 3818
2950 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
2960 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
2970 DATA 3808,-21846,-21846, -4370, -4370,-21846,-21846, 3818
2980 DATA 3808,-21846,-21846, 3822, -4384,-21846,-21846, 3818
2990 DATA -4384, -4370, -4370, 238, -4608, -4370, -4370, 3822
3000 DATA 0, 0, 0, 238, -4608, 0, 0, 0
3010 DATA -4384, -4370, -4370, 3822, -4384, -4370, -4370, 3822
3020 DATA 3808, 0, 0, 3822, -4384, 0, 0, 3808
3030 DATA 3808,-21846,-21846, 3822, -4384,-21856,-21846, 3818
3040 DATA 3808,-21846,-21846, -4384, 3822,-21856,-21846, 3818
3050 DATA 3808,-21846,-21846, 10, 0,-21846,-21846, 3818
3060 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3070 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3080 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3090 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3100 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3110 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3120 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3130 DATA 3808,-21846,-21846,-21846,-21846,-21846,-21846, 3818
3140 DATA -4384,-21846,-21846,-21846,-21846,-21846,-21846, 3822
3150 DATA -4608, -4370, -4370, -4370, -4370, -4370, -4370, 238
3160 DATA 0, 0, 0, 0, 0, 0, 0, 0
3170 DATA 0, 0, 0, 0, 0, 0, 0, 0
3180 'DOOR
3190 DATA 0, 0, 0,-21856, 2730, 0, 0, 0
3200 DATA 0, 0,-22016,-21846,-21846, 170, 0, 0
3210 DATA 0, 0,-21846,-21846,-21846,-21846, 0, 0
3220 DATA 0,-24576,-21846, 0, 0,-21846, 10, 0
3230 DATA 0,-22016, 10, 2560, 2570,-24576, 170, 0
3240 DATA 0, 2720,-24576,-24416,-24416, 160, 2720, 0
3250 DATA 0, 160, 0, 0, 0, 0, 2720, 0
3260 DATA 0, 2720,-21846,-21846,-21846,-21846, 160, 0
3270 DATA 0, 160, 10, 0, 0,-24576, 2720, 0
3280 DATA 0, 2720, -9766, -9767, -9767,-22055, 160, 0
3290 DATA 0, 160,-25190,-25187,-25187,-21091, 2720, 0
3300 DATA 0, 2720, -9766, -9767, -9767,-22055, 160, 0
3310 DATA 0, 160,-25190,-25187,-25187,-21091, 2720, 0
3320 DATA 0, 2720, -9766, -9767, -9767,-22055, 160, 0
3330 DATA 0, 160,-25190,-25187,-25187,-21091, 2720, 0
3340 DATA 0, 2720,-21846,-21846,-21846,-21846, 160, 0
3350 DATA 0, 160, 0, 0, 0, 0, 2720, 0
3360 DATA 0, 2720, 0, 0, 0, 0, 160, 0
3370 DATA 0, 160, 2560, 2570, 2570, 2570, 2720, 0
3380 DATA 0, 2720,-24416,-24416,-24416,-24416, 160, 0
3390 DATA 0, 160, 2560, 2570, 2570, 2570, 2720, 0
3400 DATA 0, 2720,-24416,-24416,-24416,-24416, 160, 0
3410 DATA 0, 160, 2560, 2570, 2570, 2570, 2720, 0
3420 DATA 0, 2720,-24416,-24416,-24416,-24416, 160, 0
3430 DATA 0, 160, 2560, 2570, 2570, 2570, 2720, 0
3440 DATA 0, 2720,-24416,-24416,-24416,-24416, 160, 0
3450 DATA 0, 160, 2560, 2570, 2570, 2570, 2720, 0
3460 DATA 0, 2720, 0, 0, 0, 0, 160, 0
3470 DATA 0,-21856,-21846,-21846,-21846,-21846, 2730, 0
3480 DATA 0,-21856,-21846,-21846,-21846,-21846, 170, 0
3490 DATA 0, 2560, 2570, 2570, 2570, 2570, 2570, 0
3500 DATA 0, 0, 0, 0, 0, 0, 0, 0
3510 'WALL
3520 DATA -1, 4095, -1, -1, -1, 4095, -1, -1
3530 DATA -25187, 3485,-25185,-25187,-25187, 3485,-25185,-25187
3540 DATA -9767, 2521, -9761, -9767, -9767, 2521, -9761, -9767
3550 DATA -25187, 3485,-25185,-25187,-25187, 3485,-25185,-25187
3560 DATA -9767, 2521, -9761, -9767, -9767, 2521, -9761, -9767
3570 DATA -25187, 3485,-25185,-25187,-25187, 3485,-25185,-25187
3580 DATA -9767, 2521, -9761, -9767, -9767, 2521, -9761, -9767
3590 DATA 0, 0, 0, 0, 0, 0, 0, 0
3600 DATA -1, -1, -1, 4095, -1, -1, -1, 4095
3610 DATA -25185,-25187,-25187, 3485,-25185,-25187,-25187, 3485
3620 DATA -9761, -9767, -9767, 2521, -9761, -9767, -9767, 2521
3630 DATA -25185,-25187,-25187, 3485,-25185,-25187,-25187, 3485
3640 DATA -9761, -9767, -9767, 2521, -9761, -9767, -9767, 2521
3650 DATA -25185,-25187,-25187, 3485,-25185,-25187,-25187, 3485
3660 DATA -9761, -9767, -9767, 2521, -9761, -9767, -9767, 2521
3670 DATA 0, 0, 0, 0, 0, 0, 0, 0
3680 DATA -1, 4095, -1, -1, -1, 4095, -1, -1
3690 DATA -25187, 3485,-25185,-25187,-25187, 3485,-25185,-25187
3700 DATA -9767, 2521, -9761, -9767, -9767, 2521, -9761, -9767
3710 DATA -25187, 3485,-25185,-25187,-25187, 3485,-25185,-25187
3720 DATA -9767, 2521, -9761, -9767, -9767, 2521, -9761, -9767
3730 DATA -25187, 3485,-25185,-25187,-25187, 3485,-25185,-25187
3740 DATA -9767, 2521, -9761, -9767, -9767, 2521, -9761, -9767
3750 DATA 0, 0, 0, 0, 0, 0, 0, 0
3760 DATA -1, -1, -1, 4095, -1, -1, -1, 4095
3770 DATA -25185,-25187,-25187, 3485,-25185,-25187,-25187, 3485
3780 DATA -9761, -9767, -9767, 2521, -9761, -9767, -9767, 2521
3790 DATA -25185,-25187,-25187, 3485,-25185,-25187,-25187, 3485
3800 DATA -9761, -9767, -9767, 2521, -9761, -9767, -9767, 2521
3810 DATA -25185,-25187,-25187, 3485,-25185,-25187,-25187, 3485
3820 DATA -9761, -9767, -9767, 2521, -9761, -9767, -9767, 2521
3830 DATA 0, 0, 0, 0, 0, 0, 0, 0
3840 'KEY
3850 DATA 0, 0, 0, 0, 0, 0, 0, 0
3860 DATA 0, 0, 0, 0, 0, 0, -8192, 14
3870 DATA 0, 0, 0, 0, 0, 0, -4608, 14
3880 DATA 0, 0, 0, 0, 0, 0,-20768, 14
3890 DATA 0, 0, 0, 0, 0, 0, -5394, 14
3900 DATA 0, 0, 0, 0, 0, -8192, -4434, 14
3910 DATA 0, 0, 0, 0, 0, -4608, -4374, 14
3920 DATA 0, 0, 0, 0, 0,-20768, -4370, 0
3930 DATA 0, 0, 0, 0, 0, -5394, 3822, 0
3940 DATA 0, 0, 0, 0, -8192, -4434, 238, 0
3950 DATA 0, 0, 0, 0, -4608, -4374, 14, 0
3960 DATA 0, 0, 0, 0,-20768, 238, 0, 0
3970 DATA 0, 0, 0, 0, -5394, 238, 0, 0
3980 DATA 0, 0, 0, -8192, -4434, 238, 0, 0
3990 DATA 0, 0, 0, -4608, -4374, 0, 0, 0
4000 DATA 0, 0, 0,-20768, -4370, 0, 0, 0
4010 DATA 0, 238, 0, -5394, 238, 0, 0, 0
4020 DATA -8192, 3822, -8192, -4434, 14, 0, 0, 0
4030 DATA -4608, -4455, -4608, -4374, 0, 0, 0, 0
4040 DATA -24864, -5735,-20754, 3822, 0, 0, 0, 0
4050 DATA -26144,-26215, -4370, 238, 0, 0, 0, 0
4060 DATA -26144,-26130, -4375, 14, 0, 0, 0, 0
4070 DATA -5664,-25088, -4455, 14, 0, 0, 0, 0
4080 DATA -5664, -8192, -5735, 238, 0, 0, 0, 0
4090 DATA -24864, 14,-26210, 238, 0, 0, 0, 0
4100 DATA -4384, 233,-26144, 3817, 0, 0, 0, 0
4110 DATA -21792, 3742,-26144, 3817, 0, 0, 0, 0
4120 DATA -1312, -5654,-26210, 238, 0, 0, 0, 0
4130 DATA -20992,-24854, -5735, 14, 0, 0, 0, 0
4140 DATA -8192, -4370, -4370, 0, 0, 0, 0, 0
4150 DATA 0, 0, 0, 0, 0, 0, 0, 0
4160 DATA 0, 0, 0, 0, 0, 0, 0, 0
4170 '
4180 DATA 0, 0,-28672,-26215,-26215, 153, 0, 0
4190 DATA 0,-26224,-26215,-26215,-26215,-26215, 0, 0
4200 DATA -28672,-26215,-26215,-25191,-26215,-26215, 9, 0
4210 DATA -26368,-26215,-26215, -9831,-26215,-26215, 153, 0
4220 DATA -26224,-26215,-26215,-26215,-26215,-26215, 2457, 0
4230 DATA -26224,-26215,-26215,-26215,-26215,-26215, 2457, 0
4240 DATA -26224,-26215,-26215,-26215,-26215,-26215, 2457, 0
4250 DATA -26224,-26215,-26215,-26215,-26215,-26215,-26215, 0
4260 DATA -26215,-26215,-26215,-26215,-26215,-26215,-26215, 0
4270 DATA -26215,-26215,-26215,-26215,-26210,-26215,-26215, 0
4280 DATA -26215,-26215,-26215,-26215,-26210,-26215,-26215, 0
4290 DATA -26215,-26215,-26215,-26215,-26354,-26215,-26215, 0
4300 DATA -26215,-26215,-26215,-26215,-26130,-26215,-26215, 0
4310 DATA -26215,-26215,-26215,-26130, -5650,-26210, 2457, 0
4320 DATA -26215,-26215,-26215, -8192, 3822, -8192, 2457, 0
4330 DATA -26215,-26215, -4450, 3822, -7954, -4370, 158, 0
4340 DATA -26215,-26215, 238, -8192, 3822, -8192, 14, 0
4350 DATA -26215,-26215, -4082, -7937, 3822, 4095, 14, 0
4360 DATA -26215,-24935, -242, -4199, -274, -103, 14, 0
4370 DATA -26215,-28439,-24594, -5729,-24850, -1633, 14, 0
4380 DATA -26215,-28439,-24594, -5731,-24850, -1635, 158, 0
4390 DATA -26215,-24855, -279, -4199, -274, -4199, 158, 0
4400 DATA -26215,-24855, -4375, -4370, -4370, -4370, 158, 0
4410 DATA -26215,-24935, -4375, -4370, -4370, -4370, 2462, 0
4420 DATA -26215,-26215, -4375, -4370, -7954, -4370, 2462, 0
4430 DATA -26215,-26215, -4375, -4370, -8178, -4370, 2462, 0
4440 DATA -26215,-26215, -4375, -4370, -4370, -4370,-26224, 0
4450 DATA -26215,-26215, -4599,-20754,-20754, -4370,-26224, 0
4460 DATA -26224,-26215, -8183, -4370, -5462, 3822,-26224, 0
4470 DATA -26224,-26215, 9, -4370, -4370, 238,-26224, 0
4480 DATA -26368,-26215, 9, -4608, -4370, 14, 2448, 0
4490 DATA -26368,-26215, 9, 0, 3822, 0, 2448, 0
4500 '
4510 DATA 0, 0, 0, 0, 0, 0, 0, 0
4520 DATA 0, 0, 0, 0, 0, 0, 0, 0
4530 DATA 0, 0, -4370, -4370, -4370, -4370, 0, 0
4540 DATA 0, -4608, 0, 0, 0, 0, 238, 0
4550 DATA 0, 238, 0, 0, 0, 0, -4608, 0
4560 DATA -8192, 0, 0, 0, 0, 0, 0, 14
4570 DATA 3584, 0, 0, 0, 0, 0, 0, 224
4580 DATA 3584, 240, -4096,-22016, 0, 0, 0, 224
4590 DATA 224, 240, -256, 160, 10, 0, 0, 3584
4600 DATA 224, 240, 4080, 160, 10, 0, 0, 3584
4610 DATA 224, -3856, 255,-22016, 0, 0, 0, 3584
4620 DATA 224, -16, 0, 0, 0, 0, 0, 3584
4630 DATA 224, 240, 0, 0, 0, 0, 0, 3584
4640 DATA 224, 240, 0, 0, 0, 0, 0, 3584
4650 DATA 224, 240, 0, 0, 0, 0, 0, 3584
4660 DATA 224, 240, 0, 4080, 0, 0, 0, 3584
4670 DATA 224, 4080, 0, -4096, 15, -16, -1, 3584
4680 DATA 224, -256, -1, 15, 255, 0, -256, 3584
4690 DATA 224, 0, 0, 0, 4080, 0, -256, 3584
4700 DATA 224, 0, 0, 0, -256, 0, 4080, 3584
4710 DATA 224, 0, 0, 0, 0, 0, 255, 3584
4720 DATA 224, 0, 0, 0, 0, -4096, 15, 3584
4730 DATA 224, 0, 0, 0, 0, -256, 255, 3584
4740 DATA 224, 0, 0, 0, 0, 4080, 255, 3584
4750 DATA 3584, 0, 0, 0, 0, 255, 4080, 224
4760 DATA 3584, 0, 0, 0, -4096, 15, -256, 224
4770 DATA -8192, 0, 0, 0, 0, 0, 0, 14
4780 DATA -8192, 224, 0, 0, 0, 0, -4608, 0
4790 DATA -4608, -4594, 0, 0, 0, 0, 238, 0
4800 DATA 0, 0, -4370, -4370, -4370, -4370, 0, 0
4810 DATA 0, 0, 0, 0, 0, 0, 0, 0
4820 DATA 0, 0, 0, 0, 0, 0, 0, 0
4830 '
4840 DATA 0, -8960, -8739, 0, 0, -8739, 221, 0
4850 DATA 0, -8739, -8739, 221, -8960, -8739, -8739, 0
4860 DATA -8960, -8739, -8739, -8739, -8739, -8739, -8739, 221
4870 DATA -8752, -8739, -8739, -8739, -8739, -8739, -8739, -8739
4880 DATA -8739, -8739, -8739, -8739, -8739, -8739, -8739, -8739
4890 DATA -8739, -8739, -8739, -1571, -8737, -8739, -8739, -8739
4900 DATA -8739, -8739, -8739, -1571, -8737, -8739, -8739, -8739
4910 DATA -8739, -8739, -8739,-25123, -8743, -8739, -8739, -8739
4920 DATA -8739, -8739, -8739, -8739, -8739, -8739, -8739, -8739
4930 DATA -8739, -8739, -8739, -8739, -8739, -8739, -8739, -8739
4940 DATA -25123, -8739, -8739, -8739, -8739, -8739, -8739, -8752
4950 DATA -9767, -8743, -8739, -8739, -8739, -8739, -8739, -8960
4960 DATA -25187, -8739, -8739, -8739, -8739, -8739, -8739,-12288
4970 DATA -9984, -8739, -8739, -8739, -8739, -8739, -8739, 0
4980 DATA -28672, -8739, -8755, -8740, -8739, -8739, -8739, 0
4990 DATA -12288, -8743, -8996, -8755, -9011, -8996, -8739, 0
5000 DATA -28672, -8739, -8739, -8739,-12835, -8755, 3549, 0
5010 DATA -12288, -8743, -8739, -8739, -8739, -8739, 3549, 0
5020 DATA -28672, -8739, -8739, -8739, -8739, -8739, 3549, 0
5030 DATA 0, -8743, -8739, -8739, -8739, -8739, 3549, 0
5040 DATA 0, -8739, -8739, -8739, -8739, -8739, 221, 0
5050 DATA 0, -8743, -8739, -8739, -8739, -8739, 221, 0
5060 DATA 0, -8803, -8739, -8739, -8739, -8739, 221, 0
5070 DATA 0, -9767, -8739, -8739, -8739, -8739, 221, 0
5080 DATA 0, -8801, -8739, -8739, -8739, -8739, 221, 0
5090 DATA 0, -9969, -8739, -8739, -8739,-25123, 157, 0
5100 DATA -24576,-28417,-25187, -8739, -8803, -9763, 9, 0
5110 DATA -24576, 4090,-12288, -9767, -9767, 217, 240, 0
5120 DATA -24576, -86, 4095, 0, 0, -256, 2735, 0
5130 DATA -24576,-21846, -86, -1, -1,-21761, 2730, 0
5140 DATA -22016,-21846,-21846,-21846,-21846,-21846,-21846, 0
5150 DATA -22016,-21846,-21846,-21846,-21846,-21846,-21846, 0
5160 '
5170 DATA 0, 0, 0, 0, 0, 3584, 224, 0
5180 DATA 0, 0, 0, 0, 0, 3584, 224, 0
5190 DATA 0, 0, 0, 0, 0, 3584, 224, 0
5200 DATA 0, 0, 0, 0, 0, -4608, 224, 0
5210 DATA 13, 0, 0, 0, 0, -4608, 238, 0
5220 DATA 3549, 0, 0, 0, 0, -4384, 3822, 0
5230 DATA -8739, 0, 0, 0, 0, -4384, 3808, 0
5240 DATA -8739, 13, 0, 0, 0, 3808, -4370, 0
5250 DATA -8739, 3549, 0, 0, 0, -4384, -4370, 0
5260 DATA -8739, -8739, 13, 0, 0, -4595, 3822, 0
5270 DATA -8739, -8739, 221, 0,-12288, -4387, 14, 0
5280 DATA -8739, -8739, -8739, 0, -8752, -4643, 14, 0
5290 DATA -8739, -8739, -8739, -8947, -8739, -8739, 13, 0
5300 DATA -8739, -8739, -8739, -8739, -8739, -8739, 0, 0
5310 DATA -8752, -8739, -8739, -8739, -8739, 3549, 0, 0
5320 DATA -8960, -8739, -8739, -8739, -8739, 221, 0, 0
5330 DATA 0, -8739, -8739, -8739, -8739, 13, 0, 0
5340 DATA 0, -8752, -8739, -8739, -8739, 0, 0, 0
5350 DATA 0, -8960, -8739, -8739, 221, 0, 0, 0
5360 DATA 0, 0, -8960, -8739, 0, 0, 0, 0
5370 DATA 0, 0, 0, 0, 0, 0, 0, 0
5380 DATA 0, 0, 0, 0, 0, 0, 0, 0
5390 DATA 0, 0, 0, 0, 0, 0, 0, 0
5400 DATA 0, 0, 0, 0, 0, 0, 0, 0
5410 DATA 0, 0, 0, 0, 0, 0, 0, 0
5420 DATA 0, 0, 0, 0, 0, 0, 0, 0
5430 DATA 0, 0, 0, 0, 0, 0, 0, 0
5440 DATA 0, 0, 0, 0, 0, 0, 0, 0
5450 DATA 0, 0, 0, 0, 0, 0, 0, 0
5460 DATA 0, 0, 0, 0, 0, 0, 0, 0
5470 DATA 0, 0, 0, 0, 0, 0, 0, 0
5480 DATA 0, 0, 0, 0, 0, 0, 0, 0
5490 '***** MAIN PROGRAM
5500 '*****
5510 FOR J=0 TO 11:FOR I=0 TO 14:S(I,J)=4:NEXT I,J
5520 '***** 画面作成
5530 FOR J=-1 TO 13:FOR I=0 TO 31
5540 GOSUB 6740:NEXT I,J
5550 SYMBOL(465,270),"ROUND",2,2,7,,,5
5560 LINE(470,75)-(619,133),PSET,0,BF
5570 SYMBOL(486,83),"宝の塔][",2,3,1,,,1
5580 SYMBOL(483,80),"宝の塔][",2,3,6,,,1
5590 SYMBOL(511,140),"BY H2SO4",1,1,7,,,9
5600 '*****
5610 LINE(32,64)-(447,383),PSET,0,BF
5620 SYMBOL(58,106),"The Tower of Tresure ][",2,3,1,,,1
5630 SYMBOL(56,104),"The Tower of Tresure ][",2,3,2,,,1
5640 SYMBOL(54,102),"The Tower of Tresure ][",2,3,3,,,1
5650 SYMBOL(52,100),"The Tower of Tresure ][",2,3,7,,,1
5660 SYMBOL(130,210),"HIT [RUN] BUTTON TO START!",1,2,4,,,9
5670 SYMBOL(138,300),"BY H2SO4",3,2,7,,,1
5680 IF PTRIG(1)<>4 THEN 5680
5690 RO=1:GOSUB 6570
5700 '***** ラウンド更新
5710 FOR J=1 TO 10:READ SA$(J):NEXT:READ XA:READ YA:READ TR
5720 GOSUB 6760
5730 FOR J=1 TO 10:FOR I=1 TO 13
5740 S(I,J)=VAL(MID$(SA$(J),I,1))
5750 SS=S(I,J):ON SS+1 GOSUB 6700,6710,6720,6730,6740,6750
5760 NEXT I,J
5770 X=XA:Y=YA:HE=1:GOSUB 6250:GOSUB 6640
5780 '***** メインルーチン
5790 FOR I=0 TO 500:NEXT
5800 IF PTRIG(1)=1 THEN GOTO 6430
5810 IF PTRIG(1)=8 THEN GOTO 6310
5820 '
5830 XX=(PAD(1)=7)-(PAD(1)=3):'XX=(I$=CHR$(&H1D))-(I$=CHR$(&H1C))
5840 YY=(PAD(1)=1)-(PAD(1)=5):'YY=(I$=CHR$(&H1E))-(I$=CHR$(&H1F))
5850 IF XX=0 AND YY=0 THEN GOTO 5790
5860 IF XX=1 THEN HE=3 ELSE IF XX=-1 THEN HE=4
5870 IF YY=1 THEN HE=1 ELSE IF YY=-1 THEN HE=2
5880 SS=S(X+XX,Y+YY)
5890 ON SS+1 GOTO 5920,5970,6050,6120,6170,6200
5900 GOTO 5790
5910 '***** サブルーチン
5920 '=== スペース
5930 GOSUB 6540:GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640
5940 FOR I=0 TO 500:NEXT I
5950 GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640
5960 GOTO 5790
5970 '=== ストーン
5980 IF S(X+XX*2,Y+YY*2)<>0 THEN GOSUB 6550:GOSUB 6640:GOTO 5790
5990 GOSUB 6540:I=X+XX:J=Y+YY:GOSUB 6700:GOSUB 6690
6000 X=X+XX/2:Y=Y+YY/2:I=X+XX:J=Y+YY:GOSUB 6710:GOSUB 6640
6010 FOR I=0 TO 500:NEXT
6020 GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640
6030 S(X,Y)=0:I=X+XX:J=Y+YY:S(I,J)=1:GOSUB 6710
6040 GOTO 5790
6050 '=== 宝箱
6060 IF K=0 THEN GOTO 6180 ELSE K=K-1
6070 GOSUB 6560:GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640
6080 FOR I=0 TO 500:NEXT
6090 GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640:S(X,Y)=0
6100 T=T+1
6110 GOTO 5790
6120 '=== ドアー
6130 IF T<>TR THEN GOSUB 6550:GOSUB 6640:GOTO 5790
6140 GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640
6150 FOR I=0 TO 500:NEXT
6160 GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640:GOTO 6310
6170 '=== ウォール
6180 GOSUB 6550:GOSUB 6640:GOTO 5790
6190 '=== カギ
6200 GOSUB 6560:GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640
6210 FOR I=0 TO 500:NEXT
6220 GOSUB 6690:X=X+XX/2:Y=Y+YY/2:GOSUB 6640:S(X,Y)=0
6230 K=K+1
6240 GOTO 5790
6250 '***** 表示
6260 LINE(550,307)-(600,348),PSET,0,BF
6270 IF RO>9 THEN GOSUB 6300 ELSE GOSUB 6290
6280 RETURN
6290 SYMBOL(550,312),STR$(RO),2,2,7,,,1:RETURN
6300 SYMBOL(540,312),STR$(RO),2,2,7,,,1:RETURN
6310 '***** 面クリア処理
6320 GOSUB 6590:T=0:TR=0:RO=RO+1
6330 SYMBOL(90,120),"CLEARED!!",4,4,6,,,5
6340 IF RO<>6 THEN 6410
6350 LINE(204,207)-(269,272),PSET,6,B
6360 PUT@A(205,208)-(236,239),M1%,PSET
6370 PUT@A(237,208)-(268,239),M2%,PSET
6380 PUT@A(205,240)-(236,271),M3%,PSET
6390 PUT@A(237,240)-(268,271),M4%,PSET
6400 SYMBOL(120,310),"HALFTIME!!",3,3,6,,,5
6410 FOR I=0 TO 20000:NEXT
6420 IF RO=11 THEN GOTO 7110 ELSE GOTO 5710
6430 '***** ギブアップ処理
6440 GOSUB 6610:FOR J=0 TO 2
6450 HE=1:GOSUB 6640:FOR I=0 TO 400:NEXT I
6460 HE=3:GOSUB 6640:FOR I=0 TO 400:NEXT I
6470 HE=2:GOSUB 6640:FOR I=0 TO 400:NEXT I
6480 HE=4:GOSUB 6640:FOR I=0 TO 400:NEXT I
6490 NEXT J
6500 HE=1:GOSUB 6640:FOR I=0 TO 400:NEXT I
6510 HE=3:GOSUB 6640:FOR I=0 TO 1000:NEXT I
6520 T=0:K=0:GOTO 5720
6530 '***** サウンド
6540 PLAY OFF:PLAY "@14T100O3L32CD","@14T100O4L32CD":RETURN
6550 PLAY OFF:PLAY "@14T100O2L32CD","@14T100O3L32CD":RETURN
6560 PLAY OFF:PLAY "@14T100O4L32CDEFG","@14T100O5L32CDEFG":RETURN
6570 PLAY OFF:A$="@14T200O4L4CL8CC<BAL4BL8G#L3EL4AL8GAB>C<L4BL8G>L4C"
6580 B$="@14T200O3L4EL8EEEFL4GL8DL3EL4FL8EFFFL4DL8DL4E":PLAY A$,B$:RETURN
6590 PLAY OFF:A$="@14T150O4L8C<GL6EL16CL8AAGR8L16AB>C<AGAB>CL8D<B>C"
6600 B$="@14T150O3L8EEL6EL16CL8FFER8L16FGAFFFGEL8GGE":PLAY A$,B$:RETURN
6610 PLAY OFF:A$="@14T100O5L12CC<BBAAGGAABB>L4C"
6620 B$="@14T100O4L12CC<BBAAGGAABB>L4C":PLAY A$,B$:RETURN
6630 '***** キャラPUT
6640 ON HE GOSUB 6650,6660,6670,6680:RETURN
6650 PUT@A(X*32,Y*32+32)-(X*32+31,Y*32+63),HE1%,PSET:RETURN
6660 PUT@A(X*32,Y*32+32)-(X*32+31,Y*32+63),HE2%,PSET:RETURN
6670 PUT@A(X*32,Y*32+32)-(X*32+31,Y*32+63),HE3%,PSET:RETURN
6680 PUT@A(X*32,Y*32+32)-(X*32+31,Y*32+63),HE4%,PSET:RETURN
6690 LINE(X*32,Y*32+32)-(X*32+31,Y*32+63),PSET,0,BF:RETURN
6700 LINE(I*32,J*32+32)-(I*32+31,J*32+63),PSET,0,BF:RETURN
6710 PUT@A(I*32,J*32+32)-(I*32+31,J*32+63),ST%,PSET:RETURN
6720 PUT@A(I*32,J*32+32)-(I*32+31,J*32+63),TR%,PSET:RETURN
6730 PUT@A(I*32,J*32+32)-(I*32+31,J*32+63),DR%,PSET:RETURN
6740 PUT@A(I*32,J*32+32)-(I*32+31,J*32+63),WA%,PSET:RETURN
6750 PUT@A(I*32,J*32+32)-(I*32+31,J*32+63),KE%,PSET:RETURN
6760 '***** 画面消去
6770 FOR I=7 TO 0 STEP -1:FOR J=0 TO 9:II=J*32+I*4
6780 LINE(32,64+II)-(447,67+II),PSET,0,BF
6790 NEXT J,I:RETURN
6800 '***** 面データ
6810 DATA 0100000001000,1444441400040,0450000443440,0444400404240
6820 DATA 0450010400040,0401401410040,0400010400040,0104110011100
6830 DATA 0010011100410,2010040000001,1,1,2
6840 DATA 0410240010000,0401040010040,0100040140101,0441401044100
6850 DATA 0450400450014,0100400401000,4404014010110,0004010104100
6860 DATA 0444141043240,0000010040010,1,1,2
6870 DATA 0044404401000,0001000100410,0414444401004,0000010040100
6880 DATA 0001041004110,4445420100040,3004044001400,4400010000010
6890 DATA 2010010404401,0010040400005,6,1,2
6900 DATA 0000100010040,0400114100140,0004001040011,0140114014010
6910 DATA 4010004000110,0040440404004,0041101414145,1400012401000
6920 DATA 0103004401404,0000000010000,13,1,1
6930 DATA 0010042005002,0101004410104,1040012104000,0101104010100
6940 DATA 0101010411041,4414054001000,0100110400111,0444001001000
6950 DATA 0004110101040,0401004541003,1,10,3
6960 DATA 0100045420103,0010001004004,0101010040102,0014010000044
6970 DATA 1010404001005,0140010140444,0104110400000,1401041005014
6980 DATA 0411000400404,0100100010002,1,10,3
6990 DATA 0010010001040,4140104040010,4004010144141,5000114001040
7000 DATA 1100404011040,0001054001441,4141401440010,0010010040140
7010 DATA 1000010400044,2014030001002,13,5,2
7020 DATA 4010401005002,1500100040014,2010404124005,4014215040014
7030 DATA 5400400000400,0001200214010,0000414001141,4144001040010
7040 DATA 0043454001140,0000010010040,13,10,6
7050 DATA 3040400000000,0011111420400,1200100044014,0440401140105
7060 DATA 1005010010014,0100404010404,1040011041010,0004110401040
7070 DATA 4111040104140,0001040000000,5,10,2
7080 DATA 0004000000004,4001140104000,0004000410442,1101004010001
7090 DATA 0004010041450,1114040100040,0004041401101,1042100104010
7100 DATA 0114010401010,3004054010010,13,10,2
7110 '**** エンディング
7120 FOR I=0 TO 20000:NEXT:LINE(32,64)-(447,383),PSET,0,BF
7130 CLS:SCREEN@ 1:LOAD@ "ending.tif",(50,20)
7140 SYMBOL(95,221),"See You Again !",1,1,6,,,3
7145 SYMBOL(28,3),"全面クリアーおめでとうございます!",1,1,6,,,3
7150 '音楽演奏
7160 PLAY OFF:FOR I=0 TO 1
7170 PLAY "@14T255L4O3C2.DE2.RFF2FE2.RA2A2G2F2F2.EE2.R"
7180 PLAY "E2.FG2.RFF2GA2.RA2A2B2>C2D1R1<"
7190 PLAY "C2.DE2.RFF2FE2.RA2A2G2F2F2.EE2.R"
7200 PLAY "E2.FG2.RFF2GA2.RD2D2C2<B2>C2.CC2.R@14T120"
7210 NEXT
7220 IF PTRIG(1)=0 THEN 7220